<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/sys/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加农事作业信息</title>
<%@ include file="/WEB-INF/sys/include/css.jsp"%>
</head>
<body>
<form id="form" action="${path}/proRecord/add2.do" method="get">
<div class="form">
	<div class="group">
		<div class="label">地块名称:</div>
		<div class="text">${plant.blockName }</div>
	</div>
	<div class="group">
		<div class="label">加工产品:</div>
		<div class="text">${cropName }</div>
	</div>
	<div class="group">
		<div class="label">作业类型:</div>
		<div class="item">
			<input type="radio" id="linkType0" name="linkType" value="0" checked="checked" /><label for="linkType0" class="label">基本环节</label>
			<input type="radio" id="linkType1" name="linkType" value="1" /><label for="linkType1" class="label">特殊环节</label>
			<input type="radio" id="linkType2" name="linkType" value="2" /><label for="linkType2" class="label">成品环节</label>
		</div>
	</div>
	<div class="buttons">
		<button class="highlight" id="submit1" type="button">下一步</button>
		<button type="button" id="cancel1">取消</button>
		<input type="hidden" id="blockid" name="blockid" value="${blockid}" />
	</div>
</div>
</form>
<%@ include file="/WEB-INF/sys/include/script.jsp" %>
<script type="text/javascript">
$(function() {
	$("#form").ligerForm({inputWidth: 300});
	
	$("#submit1").click(function(){
		UiUtil.lockButton('submit1');
		$("#form").submit();
	});

	$("#cancel1").click(function(){
		UiUtil.closeForm();
	});
});
</script>
</body>
</html>